package com.ghy.web.backend;

import com.ghy.entity.EbProduct;
import com.ghy.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.ui.Model;

import java.util.List;

@Controller
@RequestMapping("/index")
public class IndexController {
    @Autowired
    private ProductService productService;
    @RequestMapping("/manage")
    public String manage(){
        return "manage/index";
    }
    @RequestMapping("/front")
    public String front(){
        return "index";
    }
}
